package com.yimingkeji.helloworld;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Describe:
 * @Auther: zhenlong.yang
 * @Date: 2018/11/21 14:38
 */
@RestController
@EnableAutoConfiguration
public class HelloWorldApp {

    @RequestMapping("/")
    String home() {
        return "Hello World! update";
    }

    public static void main(String[] args) throws Exception {
        SpringApplication.run(HelloWorldApp.class, args);
    }
}
